home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9461 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  760 b 

  1. Path: badger.wmin.ac.uk!darec
  2. From: darec@westminster.ac.uk (Nadarajah Thavaneethan)
  3. Newsgroups: comp.lang.c
  4. Subject: Please help me
  5. Date: 11 Mar 1996 13:22:50 GMT
  6. Organization: University of Westminster
  7. Message-ID: <4i19fa$kvu@badger.wmin.ac.uk>
  8. NNTP-Posting-Host: badger.wmin.ac.uk
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.   Hi there anyone know how to write a C program to read a directory and 
  12.   then for each filename in the directory use the stat system call to
  13.   obtain the i-node and print the infomation in the form of a long listing.
  14.  
  15.  
  16.    The program should read the directory name from the keyboard.Then open
  17.    the directory. Read each entry in turn and obtain the i-node using stat.
  18.  
  19.     
  20.    Thanks in Advance
  21.    My Email : darec@westminster.ac.uk 
  22.  
  23.  
  24.